import request from "@/utils/request.js"

/**
 * @description: 获取验证码
 * @param {String} phone 手机号
 * @return {*}
 */
export function getLogin(data) {
	return request({
		url: `/auth/loginMobile`,
		method: 'post',
		data
	})
}


// 获取用户详细信息
export function getInfo() {
	return request({
		url: "/system/user/getInfo",
		method: "get",
	});
}
// 获取用户详细信息
export function logout() {
	return request({
		url: "/auth/logout ",
		method: "get",
	});
}